package HP.com.bank_2.wangyu.bean;

import HP.com.bank_2.wangyu.view.UserUI;

public class Bank {
    public Bank() {
        bankStart();
    }

    public void bankStart() {
        User user = new User();
        ATM atm = new ATM();

        atm.welcome();
        int menuNum = user.inPutNum();
        System.out.println("用户选择" + menuNum);

        atm.userSelect(menuNum, user);
        System.out.println("Bank-User" + user);

    }
}
